//
//  MainScrollView.swift
//  SwiftMusicPlayer
//
//  Created by 顾佳槟 on 2018/3/7.
//  Copyright © 2018年 lancoo. All rights reserved.
//

import UIKit

class MainView: BaseView{
    
    //主界面界面
    var mainScrollView:VideoScrollView?
    
    override func setupSubviews() {
        self.mainScrollView = {
            let scrollView = VideoScrollView.init(frame:CGRect.zero)
            self.addSubview(scrollView)
            
            scrollView.mas_makeConstraints({ (make) in
                make?.left.top().equalTo()(self)
                make?.width.height().equalTo()(self)
            })
            
            return scrollView
        }()
    }
    
    override func config() {
        
    }
}
